package com.recharge.api.repository;

import com.recharge.api.model.Users;
import com.recharge.api.model.WalletTransactions;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface WalletTransactionRepository extends JpaRepository<WalletTransactions, Long> {
    List<WalletTransactions> findByUser(Users users);
    List<WalletTransactions> findByTransactionId(Long transactionId);
}